<template>
  <div>
    <h1>Set Store Value Success</h1>
  </div>
</template>

<script>
export default {
  data() {
    return {};
  },
  created() {
    this.title();
  },
  methods: {
    title() {
      const t = "Hello word!";
      this.$store.commit("setTitle", t);
      // this.$store.commit("addAge");
    }
  }
};
</script>

<style>
</style>
